<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>17-字符串类型</title>
</head>
<body>
<script>
    // let str='pink'
    // let str1 = "pink";
    // let str2 = `中文`;
    // console.log(str2)
    //
    // console.log(11)
    // console.log(`11`)
    // console.log('pink老师讲课非常有"激情"')
    // 字符串拼接
    let  age=25
    // document.write('我今年' + 19)
    // document.write('我今年' + age)
    // document.write('我今年' + age + '岁了')
    document.write('我今年' + age + '岁了')
    document.write(`我今年${age}岁了`)
</script>
</body>
</html>